<template>
	<el-container>
		<el-header class="bg-blue">
			<view>   
				<el-row type="flex" class="row-bg padding-lr-xl margin-lr-xl" justify="space-between" >
					<!-- <navigator url="/pages/index/home">
					</navigator> -->
					<image src="@/static/logo.svg" mode="aspectFit" style="width: 180rpx; height: 110rpx;"></image>
					
					<el-menu class="el-menu-demo" mode="horizontal" background-color="#5F99E8" text-color="#FFFFFF">
					<!-- 	<el-menu-item @click="gotoFeedback()"><text class="text-lg">意见反馈</text></el-menu-item> -->
						<el-menu-item><text class="text-lg">{{userInfo.nickname}}</text></el-menu-item>
					</el-menu>
				</el-row>
			</view>
		</el-header>
	</el-container>

</template>

<script>
	export default {
		name:"MyTopNav",
		data() {
			return {
				userInfo: {},
			};
		},
		mounted() {
			this.userInfo = uni.getStorageSync('userInfo');
		},
		methods: {
			gotoFeedback() {
				uni.navigateTo({
					url: "/pages/mine/feedback/feedback"
				})
			}
		}
		
	}
</script>

<style>

</style>